package com.ytzl.pojo;

import java.util.Date;

public class Rains {

   private int id;
   private String  cityname;
   private Date createtime;
   private int  rainvalue;
   private String detection;
    private String    address;

    public Rains(int id, String cityname, Date createtime, int rainvalue, String detection, String address) {
        this.id = id;
        this.cityname = cityname;
        this.createtime = createtime;
        this.rainvalue = rainvalue;
       this.detection = detection;
        this.address = address;
    }

    public Rains(String cityname, Date createtime, int rainvalue, String detection, String address) {
        this.cityname = cityname;
        this.createtime = createtime;
        this.rainvalue = rainvalue;
        this.detection = detection;
        this.address = address;
    }

    public Rains() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getRainvalue() {
        return rainvalue;
    }

    public void setRainvalue(int rainvalue) {
        this.rainvalue = rainvalue;
    }

    public String getDetection() {
        return detection;
    }

    public void setDetection(String detection) {
       this.detection= detection;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
